package com.studentmanagement.dao;

import com.studentmanagement.model.Student;

import java.util.List;
import java.util.Map;

public interface StudentMapper {
    Student getStudentById(Integer id);
    Student getStudentByUserId(Integer userId);
    Student getStudentByStudentId(String studentId);
    List<Student> getAllStudents();
    List<Student> searchStudents(Map<String, Object> params);
    int insertStudent(Student student);
    int updateStudent(Student student);
    int deleteStudent(Integer id);
    int deleteStudentByUserId(Integer userId);
} 